package com.mall.user;

import com.mall.user.dto.CheckAuthRequest;
import com.mall.user.dto.CheckAuthResponse;
import com.mall.user.dto.UserLoginRequest;
import com.mall.user.dto.UserLoginResponse;

/**
 * @author:tanxin Desc:
 * @date:2020/7/9 23:11
 */
public interface ILoginService {

    /**
     * 用户登录
     * @param request
     * @return
     */
    UserLoginResponse login(UserLoginRequest request);


    /**
     * 校验验证
     * @param request
     * @return
     */
    CheckAuthResponse validToken(CheckAuthRequest request);

}

